import Vue from 'vue'
import Router from 'vue-router';
import Login from "../view/Login";
import LiaoTian from "../view/LiaoTian";


Vue.use(Router)

export default new Router({
    mode: 'hash',
    routes: [

        {
            path: '/',
            redirect: '/login'
        },
        {
            path: '/login',
            name: 'login',
            component: Login
        },
        {
            path: '/liaotian',
            name: 'liaotian',
            component: LiaoTian
        },
     /*   {
            path: '/liaotian/:id',
            name: 'liaotian',
            component: LiaoTian
        },*/

    ]
})
